package cn.wolfcode.business.vo;


import lombok.Getter;
import lombok.Setter;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class DeployVO {
    private MultipartFile file;
    private  String bpmnLabel;
    private  Integer bpmnType;
    private  String info;

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public String getBpmnLabel() {
        return bpmnLabel;
    }

    public void setBpmnLabel(String bpmnLabel) {
        this.bpmnLabel = bpmnLabel;
    }

    @NotNull(message = "审核类型不能为空")
    public Integer getBpmnType() {
        return bpmnType;
    }

    public void setBpmnType(Integer bpmnType) {
        this.bpmnType = bpmnType;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}